﻿<%@ Page Language="C#" AutoEventWireup="true" Inherits="System.Web.Mvc.ViewPage" %>
<% if (bool.Parse(ViewData["LoggedIn"].ToString()) && ViewData["DisplayName"] != null)
   { %>
<li class="userprofile"><%= Html.ActionLink(ViewData["DisplayName"].ToString(), "MyProfile", "Users", null, new { title = "View your profile"})%></li>
<% } %>